<template>
  <div class="panel panel-body panel-primary">
    <!-- 导航区 -->
    <ul class="nav nav-tabs panel panel-body panel-primary">
      <li>
        <RouterLink class="list-group-item" active-class="active" to="/home/news">News</RouterLink>
      </li>
      <li>
        <RouterLink class="list-group-item" active-class="active" to="/home/message">Message</RouterLink>
      </li>
    </ul>
    <!-- 展示区 -->
    <!-- 占位符,用于放置新闻和信息的组件 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'Home',
}
</script>

<style scoped>
h2 {
  background-color: rgb(144, 61, 246);
}
</style>


